package com.liangzhong.model.winebar.vo
{
	import com.liangzhong.model.BuildingBaseInfoVo;

	/**
	 *酒吧信息 
	 * @author lake
	 * 
	 */	
	public class WineBarInfoVo extends BuildingBaseInfoVo
	{
		/**
		 *获得额外奖励的概率 
		 */		
		public var prob			:int;
		/**
		 *奖励类型 
		 *  1-	点券购买额外奖励
			2-	额外赠送经验
			3-	没有额外经验
		 */		
		public var ntype		:int;
		/**
		 *当前1s经验 
		 */		
		public var curexp		:int = 100;
		/**
		 *下级1S所获得经验 
		 */		
		public var nextexp		:int;
		/**
		 *下级累积增长时间 
		 */		
		public var nexttime		:int;
		/**
		 *经验累积时间 
		 */		
		public var exptime		:int;
		/**
		 * 经验开始时间
		 */		
		public var begintime	:int;
		
		public function WineBarInfoVo()
		{
		}
		/**
		 *解析信息 
		 * @param data
		 * 
		 */		
		override public function parseBaseInfo(data:Object):void
		{
			for (var str:String in data)
			{
				if(this.hasOwnProperty(str))
				{
					this[str] = data[str];
				}
			}
		}
	}
}